package com.monad.firemoth.config.swagger;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 单C胞生物
 * @version 1.0.0
 * @date 2024/4/19 18:49
 * @description swagger配置类
 */
@Configuration
public class SwaggerConfig {

    /**
     * 配置文档信息
     */
    @Bean
    public OpenAPI customOpenAPI() {
        return new OpenAPI().info(new Info()
                .title("firemoth系统API")
                .version("1.0")
                .description("firemoth管理系统"));

    }

}
